<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to using a Closure or controller method. Build something great!
|
*/

#Route::get('/home', 'HomeController@index');
//前台界面
// Route::group(['domain' => 'wap.u88com.net'], function () {
//     Route::get('/','Mobile\IndexController@Index');

//     Route::get('article/{id}.html','Mobile\ArticleController@NewsArticle')->where('id', '[0-9]+')->name('news');


//     Route::get('{catdir}/{path}/p{page}','Mobile\ListNewsController@listNews')->where('catdir','[a-z/]+')->where('path', '[a-zA-Z0-9/_]+')->where('page', '[0-9]+')->name('newspagelist');
//     Route::get('{catdir}/{path}','Mobile\ListNewsController@listNews')->where('catdir','[a-z/]+')->where('path','[a-z0-9/]+')->name('newslist');

//     Route::get('{path}','Mobile\ListNewsController@lists')->where('path','[a-z0-9/]+')->name('lists');
// });


// Route::get('/','Frontend\IndexController@Index');
// Route::get('/clearCache', 'Frontend\IndexController@clearCache');
// Route::get('/search', 'SearchController@index');
// Route::get('article/{id}.html','Frontend\ArticleController@NewsArticle')->where('id', '[0-9]+')->name('news');
// Route::get('{path}/p{page}','Frontend\ListNewsController@listNews')->where('path', '[a-zA-Z0-9/_]+')->name('newspagelist');
// Route::get('{path}','Frontend\ListNewsController@listNews')->where('path','[a-zA-Z0-9/_]+')->name('newslist');



